<template>
	<view class="">
		<!-- 分享示例 -->
		<!-- 提示信息弹窗 -->
		<uni-popup ref="alertDialog" type="dialog">
			<uni-popup-dialog :type="msgType" cancelText="关闭" confirmText="同意" title="通知" content="是否查看小票" @confirm="dialogConfirm"
				@close="dialogClose"></uni-popup-dialog>
		</uni-popup>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				msgType: 'info',
				
			}
		},
		methods:{
			
			dialogConfirm(){
				this.$emit('submitPrintChange',true)
				this.$refs.alertDialog.close()
			},
			dialogClose(){
				this.$emit('dialogClose',true)
				this.$refs.alertDialog.close()
			},
			openForm(){
				this.$refs.alertDialog.open()
			}
		}
	}
</script>

<style>
	.submitPopup{
		background-color: #4184EF;
		width: 100%;
		height: 80rpx;
		text-align: center;
		line-height: 80rpx;
		border-top-left-radius: 50rpx;
		border-top-right-radius: 50rpx;
		border-bottom-left-radius: 50rpx;
		border-bottom-right-radius: 50rpx;
		color: #Fff;
	}
</style>